home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Conversion / Convert_PICT / Testing / hex_tests / colors=opcodesnew.hex < prev    next >
Text File  |  1992-11-17  |  2KB  |  49 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 0011 02 FF                        % verson
  6. 0001 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  7. 0030 0000 0000 00FF 00FF        % draw bounding rect
  8.  
  9. 0002 AA AA AA AA AA AA AA AA % fill pat
  10. 0009 FF FF FF FF FF FF FF FF % pn pat
  11. 000A AA 55 AA 55 AA 55 AA 55 % back pat
  12.  
  13. % draw lines along its four sides
  14. 0020 0010 0000 0010 00FF
  15. 0020 0000 0010 00FF 0010
  16. 0020 0050 0000 0050 00FF
  17. 0020 0000 0050 00FF 0050
  18.  
  19. 0020 0000 0080 00FF 0080
  20. 0020 0000 00C0 00FF 00C0
  21.  
  22. 0020 0080 0000 0080 00FF
  23. 0020 00C0 0000 00C0 00FF
  24.  
  25.  
  26. 0009 FF FF FF FF FF FF FF FF % pn pat (not 'official')
  27.  
  28. 001A    FFFF 0000 0000    %foreground color (red)
  29. 001B    0000 FFFF 0000    %    background color (green)
  30.  
  31. % Frame a rectangle
  32. 0030 0010 0010 0050 0050
  33.  
  34. % paint an adjacent one
  35. 0031 0010 0080 0050 00C0
  36.  
  37. % try to invert the painted one (ha ha)
  38. 0033 0010 0080 0050 00C0
  39.  
  40. % fill one below one
  41. 0034 0080 0080 00C0 00C0
  42.  
  43. % erase a different one 
  44. 0032 0080 0010 00C0 0050
  45.  
  46.  
  47.  
  48. 00FF    % end
  49.